<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .c1{
            color: red;
        }
        #c2{
            color: gold;
        }
        .city li{
            color: pink;
        }
       .v1[xx="123"]{
            color: green;
        }
        input[type="password"]{
            border: 1px solid red;
        }
        /*.city > a{*/
        /*    color: aquamarine;*/
        /*}*/
        .city a{
            color: red;
        }
        .q1{
            color: red!important;
            border: 1px solid red;
        }
        .q2{
            font-size: 28px;
            color: green;
        }
    </style>
<!--    <link rel="stylesheet" href="common.css">-->
</head>
<body>
<h1 class="c1">用户登录</h1>
<form method="post" action="/login">
    <div id="c2">
        用户名：<input type="text" name="user">
    </div>
    <div>
        密码：<input type="text" name="pwd">
    </div>
    <div>
        <input type="submit" value="提交">
    </div>
    <div class="city">
        <a href="">百度</a>
        <div>
            <a href="">谷歌</a>
        </div>
        <ul>
            <li>洛阳</li>
            <li>广西</li>
            <li>湖南</li>
        </ul>
    </div>

    <ol>
        <li>中国</li>
        <li>江西</li>
    </ol>
    <input type="text">
    <input type="password">

    <div class="v1" xx="123">功能</div>
    <div class="v1" xx="456">文章</div>
    <div class="v1" xx="999">爱看i发</div>

    <div class="q1 q2">中国移动</div>
</form>
</body>
</html>